<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<style>
			html{font-size: 1rem;}
			.active{
				width: 10rem;height: 10rem;background: pink;
			}
			.div2{
				font-size: 0.7rem;
			}
		</style>
		<script src="https://unpkg.com/vue/dist/vue.js"></script>
	</head>
	<body>
		<div id="app6">
			 <div v-bind:class="[class1,class2]">
			 	<p>{{message}}</p>
			 </div>
		</div>
	</body>
	<script>
		var app6=new Vue({
		  el: '#app6',
		  data: {
		    class1:'active',
		    class2:'div2',
		    message:"hello world"+new Date()
		  }
		
	})
	</script>
</html>
